﻿<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="VerySimple._Default" %>
    <%--o tag is registered in web.config--%>
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
<asp:Literal runat="server" ID="Result">     
     </asp:Literal>

    <h2>AjaxDropdown</h2>
    <o:AjaxDropdown runat="server" Url="~/Aja.svc/CategoriesDropdown" ID="CategoryAjaxDropdown" />
    
    <h2>AjaxRadioList</h2>
    <o:AjaxRadioList  runat="server" Url="~/Aja.svc/CategoriesDropdown" ID="CategoryAjaxRadioList" />
    
    <h2>Lookup</h2>
    <o:Lookup runat="server" GetUrl="~/Aja.svc/FruitGet" SearchUrl="~/Aja.svc/FruitSearch" ID="FruitLookup"/>

    <h2>MultiLookup</h2>
    <o:MultiLookup runat="server" ID="FruitsMultiLookup"
    GetMultipleUrl="~/Aja.svc/FruitGetMultiple"
    SearchUrl="~/Aja.svc/FruitSearchML"
    SelectedUrl="~/Aja.svc/FruitSelected"/>

     <h2>CheckBoxList</h2>
     <o:AjaxCheckboxList runat="server" Url="~/Aja.svc/CategoriesCheckboxList" ID="CategoriesCheckboxList"/>

     <h2>AjaxList</h2>
     <o:AjaxList runat="server" SearchUrl="~/Aja.svc/FruitListSearch" ID="FruitsAjaxList" />

     <asp:Button runat="server" OnClick="Show" Text="Submit" />
     
</asp:Content>
